<template>
	<view>
		<view class="example">
			<uni-forms ref="valiForm">
				<uni-forms-item label="姓名" name="name">
					<uni-easyinput v-model="formData.name" placeholder="请输入姓名" disabled />
				</uni-forms-item>
				<uni-forms-item label="工号" name="userID">
					<uni-easyinput v-model="formData.userID" placeholder="请输入工号" disabled/>
				</uni-forms-item>
				<uni-forms-item label="申请人电话" name="userPhoneNum">
					<uni-easyinput v-model="formData.userPhoneNum" placeholder="请输入电话"  disabled/>
				</uni-forms-item>
				
				<uni-forms-item label="车牌号" name="carPlate">
					<uni-easyinput v-model="formData.carPlate" placeholder="请输入车牌号"  disabled/>
				</uni-forms-item>
				<uni-forms-item label="维修类型" name="repairType">
					<uni-easyinput v-model="formData.repairType" placeholder="请输入维修类型"  disabled/>
				</uni-forms-item>
				<uni-forms-item label="故障描述" name="faultDescription">
					<uni-easyinput type="textarea" v-model="formData.faultDescription" placeholder="请输入故障描述"  disabled/>
				</uni-forms-item>
				<uni-forms-item label="维修厂" name="repairShop">
					<uni-easyinput v-model="formData.repairShop" placeholder="请输入维修厂"  disabled/>
				</uni-forms-item>
				<uni-forms-item label="送修日期" name="sendRepairDate">
					<uni-datetime-picker type="datetime" return-type="string" v-model="formData.sendRepairDate"  disabled/>
				</uni-forms-item>
				<uni-forms-item label="期望取车日期" name="expectReturnDate">
					<uni-datetime-picker type="datetime" return-type="string" v-model="formData.expectReturnDate"  disabled/>
				</uni-forms-item>
				<uni-forms-item label="目前状态">
					<uni-easyinput v-model="formData.currentState" placeholder="请输入当前状态" disabled />
				</uni-forms-item>
			</uni-forms>
			<!-- 移除按钮 -->
		</view>
	</view>
</template>

<script>
export default {
	name:"repairDetailedInfo",
	data() {
		return {
			formData: {
				name: "",
				userID: "",
				userPhoneNum: "",
				carPlate: "",
				repairType: "",
				faultDescription: "",
				repairShop: "",
				sendRepairDate: "",
				expectReturnDate: "",
				currentState:""
			},
		};
	},
};
</script>

<style lang="scss">
.example {
	padding: 15px;
	background-color: #fff;
}

.segmented-control {
	margin-bottom: 15px;
}

.button-group {
	margin-top: 15px;
	display: flex;
	justify-content: space-around;
}

.form-item {
	display: flex;
	align-items: center;
}

.button {
	display: flex;
	align-items: center;
	height: 35px;
	margin-left: 10px;
}
</style>


